my_set = set()
my_list=['黑马程序员','传智播客','黑马程序员','传智播客','itheima','itcast','itheima','itcast','best']
for x in my_list:
    my_set.add(x)
print(f"最终的集合是{my_set}")